﻿using System.Web.Mvc;
using FikriKibar.Business.Abstract;
using FikriKibar.Business.Concrete;
using FikriKibar.UI.WebCommon.Infrastructure;

namespace FikriKibar.UI.WebManagement.Controllers
{
    public class FileController : FikriKibarController
    {
        #region Global Declarations
        private readonly IFileService _fileService = new FileManager();

        #endregion
        #region Methods
        public ActionResult Index()
        {
            return View();
        }

        [FikriKibarSecurityFilter(1,2,3)]
        public ActionResult Add()
        {
            return View(_fileService.Add());
        }
        #endregion
    }
}